/**
 * Author:   e20160504
 * Date:     2018/6/6 16:57
 * Description:
 */
package com.kevin.demo.service.area.impl;


import com.kevin.demo.annotation.AbleInsertOrUpdateLog;
import com.kevin.demo.entity.area.Area;
import com.kevin.demo.enums.OprEnum;
import com.kevin.demo.framwork.Result;
import com.kevin.demo.service.area.AreaService;
import com.kevin.demo.service.base.BaseService;
import com.kevin.demo.vo.input.user.UserFilters;
import org.springframework.stereotype.Service;

@Service
public class AreaServiceImpl extends BaseService<Area> implements AreaService {

    @AbleInsertOrUpdateLog(oprName = OprEnum.UPDATE, serviceclass = AreaServiceImpl.class, handledName = "更新区域")
    public Result update(Area area){
        return super.update(area);
    }

    @Override
    public Result list(UserFilters filter) {
        return super.list(filter);
    }

    @Override
    public Area selectByKey(Integer id) {
        return super.selectByKey(id);
    }
}

























